package biz.ezcom.design.pattern.mediator;

public class Client {
	public static void main(String[] args) {
		MediatorUnitedNationsSecurity mediator = new MediatorUnitedNationsSecurity();
		
		CountryUSA usa = new CountryUSA(mediator);
		ContryIraq iraq = new ContryIraq(mediator);
		mediator.setUsa(usa);
		mediator.setIraq(iraq);
		
		usa.send("不要研制核武，不然我们要开战了！");
		iraq.send("我们没有研制核武，也不怕侵略！");
		
		
	}
}
